<AdminTpl file="Common/Head"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
  <AdminTpl file="Common/Nav"/>
  <form name="myform" action="{:U('Formguide/index')}" method="post" class="J_ajaxForm">
    <div class="table_list">
      <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tableClass">
        <thead>
            <tr>
                <td align="left">ID</td>
                <td  align="center">用户</td>
                <td  align="center">标题</td>
                <td  align="center">小图</td>
                <td  align="center">大图</td>
                <td  align="center">链接</td>
                <td  align="center">次级页面</td>
                <td  align="center">天数</td>
                <td  align="center">总花费</td>
                <td  align="center">时间</td>
                <td  align="center">管理操作</td>
            </tr>
        </thead>
        <tbody>
          <volist name="list" id="vo" key="k">
            <tr>
              <td>{$vo.gezi_id}</td>
              <td align="center">{$vo.user_id|getUserName}</td>
              <td align="center">{$vo.content|str_cut=###, 20, '..'}</td>
              <td align="center"><a target="_blank" href="{$vo.s_img}"><img src="{$vo.s_img}"  width=80 height=80></a></td>
              <td align="center"><if condition="$vo[b_img_status] == 1">
                  <a target="_blank" href="{$vo.b_img}"><img src="{$vo.b_img}"  width=80 height=80></a>
                  <else/>无</if>
              </td>
              <td align="center"><if condition="$vo[link_id]"><a target="_blank" href="{$vo.link_id|getLinkUrl}">有</a><else/>无</if>{$vo.score}</td>
          
              <td align="center"><if condition="$vo[article_id]"><a target="_blank" href="{$vo.article_id|getAritcleUrl}">有</a><else/>无</if>{$vo.score}</td>
              
          <td align="center">{$vo.days}</td>
              <td align="center">{$vo.pay_score}</td>
              <td align="center">{$vo.create_time|date="Y-m-d H:i:s", ###}</td>
          
              <td align="center">
              <if condition="$vo['status_check'] == 'false'">
                  <a class="J_ajax_update" href='{:U("Gezi/check", array("id" => $vo["gezi_id"]))}'>审核通过</a>|
              </if>
              <a class="J_ajax_del" href='{:U("Gezi/delete", array("id" => $vo["gezi_id"]))}'>删除</a>
              </td>
            </tr>
          </volist>
        </tbody>
      </table>
      <div class="p10">
        <div class="pages">{$page}</div>
      </div>
    </div>
  </form>
</div>
<script src="/static/common/js/common.js?v"></script> 
<script src="/static/common/js/content_addtop.js"></script> 
<script>
        //调用
        function call(id) {
            omnipotent("call", GV.REAL_FILE+'?a=public_call&m=Formguide&g=Formguide&formid=' + id, "调用方式", 1, '700px', '300px');
        }
    </script>
</body>
</html>